package com.qst.Serviceimpl;

import com.qst.Service.AdminUserService;
import com.qst.Vo.AdminOrderVo;
import com.qst.dao.AdminOrderMapper;
import com.qst.pojo.Order;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @packageName:com.qst.Serviceimpl
 * @className:AdminOrderService
 * @Description:
 * @author:zhangyu
 * @date 2021/6/22 20:53
 **/

@Service
public class AdminOrderServiceimpl implements com.qst.Service.AdminOrderService {

    @Autowired
    AdminOrderMapper adminOrderMapper;

    @Override
    public List<Order> adminAllorder(AdminOrderVo adminOrderVo) {
        return adminOrderMapper.adminAllorder(adminOrderVo);
    }

    @Override
    public int updateadminorder(Order order) {
        return adminOrderMapper.updateadminorder(order);
    }

    @Override
    public int deleteadminorder(int id) {
        return adminOrderMapper.deleteadminorder(id);
    }

    @Override
    public int addadminorder(Order order) {
        return adminOrderMapper.addadminorder(order);
    }
}
